package cn.tiancaifan.micro.mapper;


import cn.tiancaifan.micro.entity.Department;

import java.util.List;

public interface DepartmentMapper {
    List<Department> getAllDepartmentsByParentId(int pid);

    void addDep(Department department);

    void deleteDepById(Department dep);
}
